namespace go admin_user_address
include "error_code.thrift"

struct UserAddress {
    1: i64 ID(api.body="id")
    2: string ReceiverName(api.body="receiver_name")
    3: string Email(api.body="email")
    4: string Mobile(api.body="mobile")
    5: string Province(api.body="province")
    6: string City(api.body="city")
    7: string Region(api.body="region")
    8: string Address(api.body="address")
}

struct GetUserAddressInfoRequest {
    1: i64 UserAddressID (api.body="user_address_id")
}

struct GetUserAddressInfoResponse {
    1: error_code.ErrorCode Code (api.body='code')
    2: UserAddress Data (api.body='data')
}
